import requests

headValue = {
    'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.55',
    'cookie': 'bid=e-KnOcw0X5E; ll="118283"; __utmz=30149280.1645186326.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); dbcl2="187377946:rniIiLiqHdo"; push_noty_num=0; push_doumail_num=0; __utmv=30149280.18737; douban-fav-remind=1; ck=_E_O; _pk_ref.100001.8cb4=["","",1645329293,"https://www.bing.com/"]; _pk_id.100001.8cb4=ee6c92f2f02ada4e.1644465024.4.1645329293.1645241599.; _pk_ses.100001.8cb4=*; ap_v=0,6.0; __utma=30149280.1524161050.1645186326.1645241368.1645329294.3; __utmc=30149280; __utmt=1; __utmb=30149280.2.10.1645329294',
}



r = requests.get('https://www.douban.com/', headers=headValue)
print('请求的url：', r.url)
print('响应状态码：', r.status_code)
print('请求头：', r.text)